home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freaks Macintosh Archive
/
Freaks Macintosh Archive.bin
/
Freaks Macintosh Archives
/
Cracking
/
Password Removal
/
DeprotectHypercard.sit
/
DeprotectHypercard
/
card_2978.txt
< prev
next >
Wrap
Text File
|
1993-06-27
|
2KB
|
77 lines
-- card: 2978 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 2750
-- name:
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=206 top=187 right=210 bottom=231
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next
----- HyperTalk script -----
on mouseUp
go to next card
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=196 top=248 right=277 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Deprotect Stack
----- HyperTalk script -----
on mouseUp
put filename("STAK") into fname
if fname is empty then exit mouseUp
deprotect fname
if the result is empty
then answer "Deprotect Successful" with "OK"
else if the result is -49
then answer "Sorry, that file is busy."
else if the result is -44
then answer "Sorry, the disk is locked."
else answer "Failed: unexpected file system error: " & the result with "OK"
end mouseUp
-- part 6 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=47 top=49 right=76 bottom=466
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 20
-- style flags: 256
-- line height: 26
-- part name:
-- part contents for background part 9
----- text -----
The button below will prompt for a stack, then (if possible) remove any password for that stack and set the maximum access level back to Scripting.
This button is provided in the interests of those who somehow forget the password assigned to a stack. Please use it responsibly.
-- part contents for card part 6
----- text -----
Deprotect Stack